package cn.lanqiao.dao;

import cn.lanqiao.entity.Student;

import java.util.ArrayList;

public interface StudentDao {
    int addStudent(Student s);
    ArrayList<Student> queryAllStudent();
    Student quertStudentById(int student_id);
    int updateStudentInfo(Student student);

    int deleteStudent(int student_id);

    ArrayList<Student> queryStudentBypage(int pageNum, int pageSize);
    ArrayList<Student> orderAllStudent();

    int totalStudents();

    int femaleStudents();

    int maleStudents();

    void batchAddStudents(ArrayList<Student> students);

    void batchDeleteStudents(ArrayList<Integer> student_id);
}
